<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo Yii::app()->params["app"]["name"] ?>，我的云盘！ 爱分享 云生活</title>
<link rel="stylesheet" type="text/css" href="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/setting/css/style.css?v=<?php echo(Yii::app()->params['app']['version'])?>" media="all" />
<script type="text/javascript">document.domain=window.location.host;</script>
<script src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/js/jquery_min.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script>
<script src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/setting/js/common_set_validate.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script>
<script src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/setting/js/tip.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script> 
</head>
<body>

<div class="s-con">

    <div class="s-tip-top">
        		帐号安全等级：
    </div>
    <div class="s-bg">
        <div class="s-bg-con">
            <div class="s-safe-wrap clearfix">
                <div class="s-safe-info">
					帐号安全等级
                                        <span class="f14 green"><strong>高</strong></span>

                                    </div>
                <div class="s-safe-grade">
                    <div class="s-safe-circle"></div>
                    <div class="s-safe-circle-img"></div>
                    <div class="s-safe-line">
                        <span></span>
                    </div>
                </div>
			
            <div class="ib s-score-wrap"><span class="s-score green">60</span>分</div>

            </div>
			<div class="s-con">
                                        <p class="green">
                    <span class="s-t-icon suc"></span>您的账户很安全。请定期修改您的登录密码,安全密码,以保证您的账户绝对安全
                    </p>
                                    <p class="s-btn-wrap">
                                         <a href="?ct=security&ac=email" class="circle-btn circle-btn-w25">
                        <span>绑定邮箱</span>
                    </a>

                                                                                <a href="?ct=security&ac=set_superpwd" class="circle-btn circle-btn-w25" >
                        <span>设置安全密码</span>
                    </a>
                                    </p>
            </div>
        </div>
    </div>
    <p class="s-safe-title">

		安全服务
    </p>
    <ul class="s-safe-list">
        <li class="s-safe-list-li">
            <a class="s-safe-action" href="?ct=security&ac=change_passwd">修 改</a>
            <strong class="s-list-title">
                <span class="s-t-icon suc"></span>密码强度
            </strong>
            <span class="s-safe-text">密码越复杂越安全，建议设置8位以上数字、字母字符组合密码，并定期更换。</span>

        </li>
        <li class="s-safe-list-li">
                        <strong class="s-list-title">
                <span class="s-t-icon suc"></span>邮箱认证
            </strong>
            <span class="s-safe-text">通过邮箱认证后，云盘帐号才能升级，并可以通过认证邮箱进行密码的修改。</span>
        </li>
        <li class="s-safe-list-li">
             <a href="?ct=security&ac=change_question" class="s-safe-action">修 改</a>

            <strong class="s-list-title">
                <span class="s-t-icon suc"></span>安全问题
            </strong>
            <span class="s-safe-text">您可以方便使用回答安全保护问题来找回密码，设置安全密码等操作。</span>
        </li>
        <li class="s-safe-list-li">
            <a href="?ct=security&ac=set_superpwd" class="s-safe-action">设 置</a>
            <strong class="s-list-title">

                <span class="s-t-icon alert"></span>安全密码
            </strong>
            <span class="s-safe-text">为您的帐号增加保护凭证，可开通回收站保护等关键性操作。</span>
        </li>
        <!--
        <li class="s-safe-list-li">
            <a class="s-safe-action">修 改</a>
            <strong class="s-list-title">
                <span class="s-t-icon suc"></span>手机绑定
            </strong>
            <span class="s-safe-text">您绑定的手机为： <span class="orange">137 **** 9080</span></span>
        </li>

        <li class="s-safe-list-li">
            <a class="s-safe-action">修 改</a>
            <strong class="s-list-title">
                <span class="s-t-icon suc"></span>手机动态密保
            </strong>
            <span class="s-safe-text">在您登录云盘时需要验证发送到手机的"动态口令"，可最大限度保护帐号安全。</span>
        </li>
                -->
    </ul>
</div>
<script type="text/javascript">
	document.domain=window.location.host;
	$(function(){
		if(!parent.window.isFrame && parent.window.location.hash == ""){
			var href=window.location.href;
			window.location.href="<?php echo(Yii::app()->params['app']['host'])?>/index.php?r=setting/index&ac="+window.location.href.substring(href.indexOf("=")+1,href.length);
		}
	})
</script><script type="text/javascript">
	$(function(){
		var score=parseInt("60");
		var per=(parseInt("60"))*0.8;
		if(score<40){
			
		}
		if(score<60&&score>=40){
			$(".s-safe-grade").addClass("s-safe-orange");
		}
		if(score>=60){
			$(".s-safe-grade").addClass("s-safe-green");
		}
		$(".s-safe-line").width(per+"%");
	});
</script>
</body>

</html>

